package go_common

import (
	"github.com/bwmarrin/snowflake"
)

var SnowFlake *snowflake.Node

func InitSnowflake(epoch int64, i int64) {
	snowflake.Epoch = epoch
	SnowFlake, _ = snowflake.NewNode(i)
}
